---
layout: "default"
title: "dropFirst"
description: "Swift documentation for 'dropFirst': Return a slice containing all but the first element of s."
keywords: "dropFirst,func,swift,documentation"
root: "/v1.2"
---

<div class="declaration" id="func-dropfirst-seq_-sliceable_-seq">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-dropfirst-seq_-sliceable_-seq">func <wbr>dropFirst&lt;Seq : Sliceable&gt;(<wbr>_: Seq)</a>
        
<div class="comment collapse" id="comment-func-dropfirst-seq_-sliceable_-seq"><div class="p">
    <p>Return a slice containing all but the first element of <code>s</code>.</p>

<p>Requires: <code>s</code> is non-empty.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func dropFirst&lt;Seq : Sliceable&gt;(s: Seq) -&gt; Seq.SubSlice</code>
    
    
</div></div>
</div>
